Dirichlet Character

Definition

Let f be a group character of (Z/nZ). We define a Dirichlet character modulo n by taking f and extending it to a function on Z by taking

χ(a)={f(a+nZ)gcd(a,n)=10otherwise.